import {
    get,
    post
} from '../utils/request'
import {
    BACKEND_ROOT
} from '../Constants'
// 集团端-分页查询调洪演算历史结果数据
export const getFloodRoutingHistoryByPage = function (params) {
    return get('/group/floodRouting/getFloodRoutingHistoryByPage', params)
}
// 集团端-分险智能评估-尾矿库分险评估-安全分析报告-查询综合分析报告
export const selectAnalysisReport = function (params) {
    return get('/group/analysis/selectAnalysisReport', params)
}
// 集团端-分险智能评估-尾矿库分险评估-安全分析报告-保存分析报告
export const salveAnalysisReport = function (params) {
    return post('/group/analysis/salveAnalysisReport', params)
}
// 集团端-分险智能评估-尾矿库分险评估-区域风险评估-查询尾矿库信息列表
export const getTailingPondList = function (params) {
    return get('/group/tailingPond/getTailingPondList', params)
}
// 区域风险评估-查询根据字段查看当前情况下风险等级图片
export const getViewRiskLevel = function (params) {
    return get('/group/tailingPondRiskLevelImage/getRiskLevelImageByTailingPondId', params)
}
export const viewRiskLevelImage = function (params) {
    return get('/group/tailingPondRiskLevelImage/getImageByTailingPondId', params)
}
// 图片调用
export const imgUrl = BACKEND_ROOT + '/group/unitPlatformImage/image/view?imageId='